package cn.zjitc.aop.anno;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component("myAspect")
@Aspect
public class MyAspect {
    @Before("execution(* cn.zjitc.aop.anno.impl.Target.method())")
    public void before()
    {
        System.out.println("MyAspect.before()");
    }
}
